this._delegate = this;
this.slotId = 0;
- this._slot = [0, 0, 0, 0];
- this._dragSlot = [0, 0, 0, 0];
this._stackAbove = null;
this._windowContainer.layout_manager.connect(
return this.hasAttachedDialogs();
}
- set slot(slot) {
- this._slot = slot;
- }
-
- get slot() {
- if (this.inDrag)
- return this._dragSlot;
- else
- return this._slot;
- }
-
deleteAll() {
const windows = this._windowContainer.layout_manager.getWindows();
}
_onDragBegin(_draggable, _time) {
- this._dragSlot = this._slot;
this.inDrag = true;
this.hideOverlay(false);
this.emit('drag-begin');
const cloneWidth = cellWidth;
const cloneHeight = cellHeight;
- clone.slot = [x, y, cloneWidth, cloneHeight];
if (!clone.positioned) {
// This window appeared after the overview was already up
const height = win._overviewHint.height;
delete win._overviewHint;
- clone.slot = [x, y, width, height];
clone.positioned = true;
clone.set_position(x, y);